import React from 'react'
import { UdRadioGroup } from '@/components/UdFormControls'

const EnableRadioGroup = function (props) {
  const initOptions = [
    {
      value: 0,
      title: '禁用',
    },
    {
      value: 1,
      title: '启用',
    },
  ]
  const { options=initOptions,...reset } = props
  return (
    <UdRadioGroup options={options} {...reset} />
  )
}

export default EnableRadioGroup